import Vue from 'vue';
import App from './App.vue';
import router from './router';
import iView from 'iview';
import './assets/font/iconfont.css';
import VueECharts from 'vue-echarts';
import 'echarts/lib/chart/bar';
import 'echarts/lib/chart/line';
import 'echarts/lib/chart/map';
import 'echarts/map/js/china';
import 'echarts/map/js/world';
import 'echarts/lib/component/tooltip';
import 'echarts/lib/component/legend';
import 'echarts/lib/component/legendScroll';
import tmpLib from '@td-analytics/report-test-designer';

window.FeatureLoader = tmpLib.FeatureLoader;
Vue.component('v-chart', VueECharts);
Vue.config.productionTip = false;
Vue.use(iView);
Vue.use(tmpLib.ComRegister);

new Vue({
  router,
  render: h => h(App),
}).$mount('#app');
